<style>
	.col-sm-2{ padding-top: 7px;}
	.col-sm-10{ padding-top: 7px;}
	.col-sm-10 img{ float: left; padding-left: 10px;}
</style>

<div class="container" style="padding-top: 50px;">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<form class="form-horizontal" role="form" action="{:U('Dealer/doadd')}" method="post">
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						 <button type="button" class="btn btn-sm btn-primary fh" >返回</button>
					</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">店铺名称:</label>
					<div class="col-sm-2">{$list.shopname}</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">店主姓名:</label>
					<div class="col-sm-2">{$list.name}</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">店铺须知:</label>
					<div class="col-sm-2">{$list.ds}</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">电话:</label>
					<div class="col-sm-2">{$list.phone}</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">身份证号:</label>
					<div class="col-sm-2">
						<if condition="$list.card neq ''">{$list.card}<else/>无</if>
					</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">列表图:</label>
					<div class="col-sm-2">
						<img src="{$list.listimg}" width="100px" height="100px"/>
					</div>
				</div>
				<div class="form-group">
					 <label for="title" class="col-sm-2 control-label">轮播图:</label>
					<div class="col-sm-10">
						<volist name="list.showimg" id="showimg">
							
							<img src="{$showimg}" width="100px" height="100px"/>
						</volist>
					</div>
				</div>
				<div class="form-group">
					 <label for="ds" class="col-sm-2 control-label">营业执照:</label>
					<div class="col-sm-10">
						<volist name="list.yyzz" id="yyzz">
							<if condition="$yyzz neq ''"><img src="{$yyzz}" width="100px" height="100px"/><else/>无</if>
						</volist>
					</div>
				</div>
				<div class="form-group">
					 <label for="ds" class="col-sm-2 control-label">老板图片:</label>
					<div class="col-sm-10">
						<volist name="list.boss_img" id="boss_img">
						<if condition="$boss_img neq ''"><img src="{$boss_img}" width="100px" height="100px"/><else/>无</if>
							
						</volist>
					</div>
				</div>
				
				<div class="form-group">
					 <label for="ds" class="col-sm-2 control-label">地址:</label>
					<div class="col-sm-10">
						{$list.pro}{$list.city}{$list.area}{$list.addr}
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						 <button type="button" class="btn btn-sm btn-primary fh" >返回</button>
					</div>
				</div>
				
			</form>
		</div>
</div>
<script>
	$(function(){
		$('.fh').click(function(){
			location.href="{:U('Store/index')}"
		})
	})

</script>